﻿namespace KingerRobot.MexicoSailunMDC.SpiService;

internal interface IWmsOutOrderSummarySafe
{
    /// <summary>
    /// 通过ID获取信息
    /// </summary>
    /// <param name="id"></param>
    /// <returns></returns>
    POWmsOutOrderSummarySafe GetOutOrderSumarySafeByLocId(long targetLoc);
    /// <summary>
    /// 添加
    /// </summary>
    /// <param name="summaryId"></param>
    /// <param name="targetLoc"></param>
    /// <param name="safe"></param>
    /// <returns></returns>
    int AddOutOrderSumarySafe(long summaryId, long targetLoc, int safe);
    /// <summary>
    /// 修改已读
    /// </summary>
    /// <param name="targetLoc"></param>
    /// <returns></returns>
    int UpdateOutOrderSumarySafeByLocId(long targetLoc);
}
